package com.cfx.exercise_42;
//二维数组求和
public class TestArr {

	public static void main(String[] args) {
		 int arr[] []={{22,33,12,32},{23,54,12,11},{65,87,89,23}};
		 int sum = 0;
		 for (int i = 0; i < arr.length; i++) {
			for (int j = 0; j < arr[i].length; j++) {
				sum+=arr[i][j];
			}
		}
		 System.out.println(sum);
	}
}
